package com.example.hyclipboard;

public class Macros {
    public static class DBStatus {
        public final static String DatabaseError = "数据库错误 | DatabaseError";
        public final static String AccountAlreadyExisted = "用户已存在 | AccountAlreadyExisted";
        public final static String AccountNotExistOrWrongPassword = "账号或密码错误 | AccountNotExistOrWrongPassword";
        public final static String UserNotExist = "用户不存在 | UserNotExist";
        public final static String NoContent = "没有内容 | NoContent";
        public final static String OK = "完成 | OK";
    }

    public static class DBTags {
        public final static String STATUS = "status";
        public final static String UID = "uid";
        public final static String CID = "cid";
        public final static String ACCOUNT = "account";
        public final static String REASON = "reason";
        public final static String NICKNAME = "nickname";
        public final static String PACK = "pack";
        public final static String CIDS = "cids";
        public final static String TIME = "time";
        public final static String READ = "read";
        public final static String DEVICE = "device";
        public final static String CONTENT = "content";
        public final static String ACTION = "action";
        public final static String PASSWORD = "password";
        public final static String ITEMS = "items";
    }

    public static class ACTIONS {
        public final static String SIGNUP = "signup";
        public final static String LOGIN = "login";
        public final static String FETCH = "fetch";
        public final static String PUSH = "push";
        public final static String QUERY = "query";
        public final static String UNDEFINED = "undefined";
        public final static String ALIVE = "alive";
        public final static String READ = "read";
    }

    public static class STATUS {
        public static final String SUCCESSFUL = "successful";
        public static final String FAILED = "failed";
    }
}
